package com.share.mapper;



import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.share.user.admin.pojos.SysPermissions;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 权限表 Mapper 接口
 * </p>
 *
 * @author 胡先生
 * @since 2024-11-30
 */
@Mapper
public interface SysPermissionsMapper extends BaseMapper<SysPermissions> {

    List<SysPermissions> SelectPermissionsByUserId(@Param("id") Long id);

    List<SysPermissions> SelectPermissionsByMenuId(@Param("id") Long id);
}
